Add API to directly link() objects between repositories
authorColin Walters <walters@verbum.org>
Thu, 2 Oct 2014 03:19:31 +0000 (23:19 -0400)
committerColin Walters <walters@verbum.org>
Thu, 2 Oct 2014 03:20:35 +0000 (23:20 -0400)
commit7ab1fb23696cf26ddf985f4077fb271be2705a44
treeccd9ad3e1f72a9d20eef34677659d594f113bd9a
parent1b8759a67e7705b2dba4b6c4d99e0c7b0b82da41
Add API to directly link() objects between repositories

And use it in pull-local.  As one might expect, this is blazingly fast
if they're on the same filesystem.

I'll be using this to "promote" builds between different repositories.
src/libostree/ostree-repo.c
src/libostree/ostree-repo.h
src/ostree/ot-builtin-pull-local.c